<template>
  <div id="kaiPiao">
    <!--     头部-->
<!--    <header>
      <h3>万事达-TMS客户端</h3>
      <div>发票管理-新增发票</div>
    </header>-->
    <TmsHeader :tmsheader="tmsheader"></TmsHeader>
    <div class="jiBen">
      <div class="dingDan">订单号* XL189666654566</div>
      <div class="heTong">合同编号： HTDKL8699896378</div>
      <div class="yunShu">运输单号:  SL8699896378</div>
    </div>
<!--    委托人信息表-->
    <h3>委托人信息</h3>
    <el-table :data="goods_info"
              border
              style="width:60%;">
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="委托方">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="委托人">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="联系电话">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="提货地址">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="提货联系人">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="联系电话">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
    </el-table>

<!--    收货人信息表-->
    <h3>收货人信息</h3>
    <el-table :data="goods_info"
              border
              style="width:60%;">
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="收货方">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="收货人">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="联系电话">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="收货地址">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
    </el-table>

<!--    计划时间表-->
    <h3>计划时间</h3>
    <el-table :data="goods_info"
              border
              style="width:60%;">
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="计划装货时间">
          <div class="block">
            <el-date-picker
                v-model="value1"
                type="datetime"
                placeholder="选择日期时间">
            </el-date-picker>
          </div>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="计划到货时间">

          <div class="block">
            <el-date-picker
                v-model="value2"
                type="datetime"
                placeholder="选择日期时间">
            </el-date-picker>
          </div>
      </el-table-column>
    </el-table>
<!--    货物信息表-->
    <h3>货物信息</h3>
    <el-table :data="goods_info"
              border
              style="width:60%;">
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="货名">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="规格型号">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="总包装">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="总数量">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="总重量kg">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="总体积m³">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
    </el-table>


<!--    实际运费-->
    <h3>实际运费</h3>
    <el-table :data="goods_info"
              border
              style="width:60%;">
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="单价">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="总里程(km)">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="其它费用(￥)">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
      <el-table-column
          prop="qSnum"
          style="background:#E4E4E2"
          label="费用总计(￥)">
        <template slot-scope="scope">
          <el-input v-model="scope.row.qSnum" class="input1"  placeholder="内容" clearable></el-input>
        </template>
      </el-table-column>
    </el-table>

<!--   备注 -->
    <h3>备注</h3>
    <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
      <el-form-item  prop="desc">
        <el-input type="textarea" v-model="ruleForm.desc"></el-input>
      </el-form-item>
    </el-form>

<!--    底部按钮-->
    <div class="btn">
      <el-button type="info" id="">确认申请</el-button>
      <el-button type="info" id="fanHui" @click="fanHui">返回</el-button>
    </div>
  </div>

</template>

<script>
import TmsHeader from '../../TmsHeader'
export default {
name: "KaiPiao",
  components: {TmsHeader},
  data() {
    return {
      tmsheader:{
        tmsBigTitle: "客户端",
        tmsATitle: "发票管理",
        tmsBTitle: "申请发票",
      },
      goods_info:[{}],
      tableData: [{

        id: '12987122',
        name: '合计',
        amount1: '234',
        amount2: '3.2',
        amount3: 10
      }],
      input:'',
      value1:'',
      value2:'',
      ruleForm: {
        desc: ''
      },
      rules:{
        desc: [
          { required: false, trigger: 'blur' }
        ]
      }
    }
  },
  methods:{
    fanHui(){
      this.$router.push('./contractManagement')
    }
  }

}
</script>

<style scoped>
h3,h4{
  text-align: left;
  margin:15px 0;
}
header{
  text-align: left;
  /*border:1px solid;*/
}
.jiBen{
  display: flex;
  /*border: 1px solid;*/
  background: #CCCCCA;
}
.jiBen>div{
  margin-right:30px;
  height: 40px;
  line-height: 40px;
}
.btn{
  margin-top:40px;
}
.btn button{
  width: 100px;
  height: 40px;
}
.input{
  height: 50px;

}
#plan{
  width: 361px;
}
table{
  border-collapse:collapse;
  text-align: center;
}
thead{
  background:#E4E4E2;
}
thead th{
  width: 180px;
  height: 30px;
}
td{
  width: 180px;
}
#heJi{
  background:#E4E4E2;
}
.input1 .el-input__inner {
   height: 55px !important;
 }

</style>